package com.ruoyi.project.basic.districtclass.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 地区分类对象 jc_districtclass
 * 
 * @author frank
 * @date 2024-08-24
 */
public class JcDistrictclass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String jcDistrictclassoid;

    /** 地区编码 */
    @Excel(name = "地区编码")
    private String cdccode;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String cdcname;

    /** 地区等级 */
    @Excel(name = "地区等级")
    private Long idcgrade;

    /** 是否末级 */
    @Excel(name = "是否末级")
    private Long bdcend;

    /** 地区分类父级OID */
    @Excel(name = "地区分类父级OID")
    private String parentoid;

    public void setJcDistrictclassoid(String jcDistrictclassoid) 
    {
        this.jcDistrictclassoid = jcDistrictclassoid;
    }

    public String getJcDistrictclassoid() 
    {
        return jcDistrictclassoid;
    }
    public void setCdccode(String cdccode) 
    {
        this.cdccode = cdccode;
    }

    public String getCdccode() 
    {
        return cdccode;
    }
    public void setCdcname(String cdcname) 
    {
        this.cdcname = cdcname;
    }

    public String getCdcname() 
    {
        return cdcname;
    }
    public void setIdcgrade(Long idcgrade) 
    {
        this.idcgrade = idcgrade;
    }

    public Long getIdcgrade() 
    {
        return idcgrade;
    }
    public void setBdcend(Long bdcend) 
    {
        this.bdcend = bdcend;
    }

    public Long getBdcend() 
    {
        return bdcend;
    }
    public void setParentoid(String parentoid) 
    {
        this.parentoid = parentoid;
    }

    public String getParentoid() 
    {
        return parentoid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jcDistrictclassoid", getJcDistrictclassoid())
            .append("cdccode", getCdccode())
            .append("cdcname", getCdcname())
            .append("idcgrade", getIdcgrade())
            .append("bdcend", getBdcend())
            .append("parentoid", getParentoid())
            .toString();
    }
}
